<%--
  Created by IntelliJ IDEA.
  User: WT-SUN
  Date: 2017/4/14
  Time: 14:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html>
<head>
    <title>编辑监测数据</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/occupationalHealth/monitor/edit.js"></script>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>
</div>
<div class="information">
    <div class="information-title">
        <p>监测数据基本信息</p>
        <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
    </div>
    <div class="cuttle">
        <form id="formEditMonitor" method="POST">
            <input type="hidden" id="monid" name="id" value="${mon.id}"/>
            <div>
                <div class="form_one" style="width: 720px;">
                    <label class="lable-style">监测点名称:</label>
                    <input class="easyui-textbox" type="text" value="${mon.monitorPoint}" data-options="readonly:true" style="width:598px;">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">单位名称:</label>
                    <input class="easyui-textbox" type="text" value="${mon.companyName}" data-options="readonly:true" style="width: 240px">
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">监测项目:</label>
                    <input class="easyui-textbox" type="text" value="${mon.factorName}"  data-options="readonly:true" style="width: 240px">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">计量单位:</label>
                    <input class="easyui-textbox" type="text" value="${mon.factorUnit}"  data-options="readonly:true" style="width: 240px">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">监测日期:</label>
                    <input class="easyui-datebox" style="width: 240px;" value="${mon.monitorDate}" name="monitorDate" >
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">是否自行监测:</label>
                    <input id="isMonitor" name="isMonitor" type="text" value="${mon.isMonitor}" style="width: 240px;" data-options="required:true">
                    <span>*</span>
                </div>
                <div class="form_one" >
                    <label class="lable-style">监测单位:</label>
                    <input class="easyui-textbox" type="text" id="monitorCompanyName" editable="false"  value="${mon.serviceName==null?'':mon.serviceName}"  style="width:240px;">
                    <input type="hidden" id="monitorCompanyId" name="monitorCompanyId" value="${mon.monitorCompanyId==null?'':mon.monitorCompanyId}"/>
                </div>
                <div class="form_one">
                    <label class="lable-style">是否超标:</label>
                    <input id="isOverproof" name="isOverproof" type="text" value="${mon.isOverproof}" style="width: 240px;" data-options="required:true">
                    <span>*</span>
                </div>
            </div>
            <div class="district-wrap" style="clear: both">
                <div class="form_one">
                    <label class="lable-style">最大值:</label>
                    <input class="easyui-numberbox" name="maxNum" type="text"  data-options="min:0,precision:2" value="${mon.maxNum==null?"":mon.maxNum}" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">最小值:</label>
                    <input class="easyui-numberbox" name="minNum" type="text"  data-options="min:0,precision:2" value="${mon.minNum==null?"":mon.minNum}" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">监测结果:</label>
                    <input class="easyui-numberbox" type="text"     data-options="min:0,precision:2" name="monitorResult" value="${mon.monitorResult}" data-options="required:true" style="width: 240px">
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">超标倍数:</label>
                    <input class="easyui-numberbox" type="text"  data-options="min:0,precision:2" name="cbNum" value="${mon.cbNum==null?"":mon.cbNum}"  style="width: 240px">
                </div>
                <div class="form_one">
                    <label class="lable-style">超限倍数:</label>
                    <input class="easyui-numberbox" type="text"  data-options="min:0,precision:2" name="cxNum" value="${mon.cxNum==null?"":mon.cxNum}"  style="width: 240px">
                </div>
            </div>
        </form>
    </div>
</div>
<div class="information">
    <div class="information-title">
        <p>登记人信息</p>
        <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
    </div>
    <div class="cuttle">
        <div style="clear: both">
            <div class="form_one">
                <label class="lable-style">登记人:</label>
                <input class="easyui-textbox" type="text" value="${mon.userName}"  data-options="readonly:true" style="width: 240px">

            </div>
            <div class="form_one">
                <label class="lable-style">登记部门:</label>
                <input class="easyui-textbox" type="text" value="${mon.deptName}"  data-options="readonly:true" style="width: 240px">
            </div>
            <div class="form_one">
                <label class="lable-style">登记时间:</label>
                <input class="easyui-textbox" type="text" value="${mon.addTime}"  data-options="readonly:true" style="width: 240px">
            </div>
        </div>
    </div>
</div>
</form>
</body>
</html>
